package ooday03;

public class Chick extends Animal {
    Chick(){}
    Chick(String name,int age,String color){
        super(name,age,color);
    }
    public void eat(){
        System.out.println(color+"色"+age+"岁的"+name+"在吃玉米");
    }
    public void layEggs(){
        System.out.println(color+"色"+age+"岁的"+name+"在下鸡蛋");
    }
}
